package com.gjintel.workflow.trade.dao;

import java.util.List;

import com.gjintel.framework.role.model.Role;
import com.gjintel.sdk.base.dao.Page;
import com.gjintel.sdk.base.dao.Sort;
import com.gjintel.workflow.trade.model.DicTask;

/**
 * @description activiti 任务字典dao 
 * @author wwang 
 * @date 2016-8-25
 */
public interface IDicTaskDao {
	
	/**
	 * @description 查询所有的数据 
	 * @author wwang 
	 * @date 2016-8-25
	 * @param page
	 * @param role
	 * @param sort
	 * @return
	 */
	List<DicTask> findAll(Page page, Role role, Sort sort);
	
	/**
	 * @description 根据taskName和roleId 
	 * @author wwang 
	 * @date 2016-8-25
	 * @param taskName
	 * @param roleId
	 * @return
	 */
	List<DicTask> getDicTaskByTaskNameAndRoleId(String taskName,String roleId);
}
